package com.pucong.gitee.database.backup.common.entity.redis.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@ApiModel("redis 修改key str dto")
public class RedisKeyUpdateStrDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("库")
    private int index;

    @NotBlank
    @ApiModelProperty("key")
    private String key;

    @NotBlank
    @ApiModelProperty("val")
    private String val;
}
